package com.qf.web.controller;

import com.qf.aop.aspect.ApiOperationLogTitle;
import com.qf.api.vo.sever.Server;
import com.qf.core.response.ResponseResult;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: sin
 * @Date: 2025/5/12 9:54
 * @Description: 监控
 **/
@Tag(name = "06.监控模块")
@ApiOperationLogTitle("监控模块")
@RequestMapping("/admin/monitor")
@RestController
public class MonitorController {

    @GetMapping("/server/list")
    public ResponseResult<Server> getServer() {
        Server server = new Server();
        server.copyTo();
        return ResponseResult.success(server);
    }
}
